package main.java.ufabc.edu.compiladores.javauino.analisadores.lexico.domain;

import main.java.ufabc.edu.compiladores.javauino.analisadores.lexico.enumx.Kind;

public class Token {
	
	public Kind kind; //token kind
	public int line;// token line (for error messages)
	public int col;// token column (for error messages)
	public int val;// token value (for number and charCon)
	public String string;// token string
	/**
	 * @return the kind
	 */
	public Kind getKind() {
		return kind;
	}
	/**
	 * @param kind the kind to set
	 */
	public void setKind(Kind kind) {
		this.kind = kind;
	}
	/**
	 * @return the line
	 */
	public int getLine() {
		return line;
	}
	/**
	 * @param line the line to set
	 */
	public void setLine(int line) {
		this.line = line;
	}
	/**
	 * @return the col
	 */
	public int getCol() {
		return col;
	}
	/**
	 * @param col the col to set
	 */
	public void setCol(int col) {
		this.col = col;
	}
	/**
	 * @return the val
	 */
	public int getVal() {
		return val;
	}
	/**
	 * @param val the val to set
	 */
	public void setVal(int val) {
		this.val = val;
	}
	/**
	 * @return the string
	 */
	public String getString() {
		return string;
	}
	/**
	 * @param string the string to set
	 */
	public void setString(String string) {
		this.string = string;
	}
}
